﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/12/4 15:26:56
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class ScoreList
    {
        [DataMember(Name = "score_name")]
        public string ScoreName { get; set; }

        [DataMember(Name = "score_id")]
        public int ScoreId { get; set; }
    }

    [DataContract]
    public class SubjectList
    {
        [DataMember(Name = "subject_name")]
        public string SubjectName { get; set; }

        [DataMember(Name = "subject_id")]
        public int SubjectId { get; set; }
    }

    [DataContract]
    public class JsonComicSearchThemeInfo
    {
        [DataMember(Name = "scoreList")]
        public ObservableCollection<ScoreList> ScoreList { get; set; }

        [DataMember(Name = "subjectList")]
        public ObservableCollection<SubjectList> SubjectList { get; set; }
    }

    [DataContract]
    public class JsonComicSearchTheme
    {
        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicSearchThemeInfo Info { get; set; }
    }
}
